#ifndef LISTIDCONTAINER_H_
#define LISTIDCONTAINER_H_
#include <map>
#include "RawObjectData.h"

/*
*	___ LISTIDCONTAINER Header___
*
* 
***************************************************************/
class ListIDContainer
{
	private:
		ListIDContainer();
		ListIDContainer(const ListIDContainer& );
		~ListIDContainer();

		map<RawObjectData*,unsigned int> _idMap;		
		
	public:
		bool getID( RawObjectData* raw, unsigned int& refID );
		void delID( RawObjectData* raw );

		static ListIDContainer& getInstance()
		{
			static ListIDContainer instance;
			return instance;
		}
};
/***************************************************************/
#endif
